PDF4Java Reference Documentation
com.o2sol.pdf4java.flowdocument Package / PDFFlowImageContent Class / setImageWidth Method
The width of the image drawn on the page.
In This Topic
    setImageWidth Method
    In This Topic
    Sets the image width.
    The value of this property represents either a percentage (0 to 100) or an absolute value based on the value of method.
    Syntax
    public void setImageWidth( 
       double width
    )

    Parameters

    width
    The width of the image drawn on the page.
    Exceptions
    ExceptionDescription
    Thrown when width is set to a value less than 0.
    See Also